import { prefixUT } from '@/services/question-select';
import request from '@/utils/request';
import { prefix } from '@/utils/utils';

const prefixU = prefix('question-select');

export async function getSelect(opt) {
  return request<prefixUT['getSelect']>(prefixU('getSelect'), {
    method: 'POST',
    data: opt,
  });
}

export async function setSelect(opt) {
  return request<prefixUT['updateSelect']>(prefixU('updateSelect'), {
    method: 'POST',
    data: opt,
  });
}
